package com.qf;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("comment")
public class Comment {

  @TableId(type = IdType.AUTO)
  private int commentId;
  private int userId;
  private Date commentTime;
  private int movieId;
  private String content;
  private int score;
  private int likes;


}
